<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
查询成绩
	<table border="2">
	<tr>
				<td>gid</td>
				<td>平时成绩</td>
				<td>期末成绩</td>
				<td>综合成绩</td>
				<td>学生</td>
				<td>课程名</td>
				<td>学号</td>
				<td>班级</td>
				<td colspan="2" align="center">操作</td>
				</tr>
				
	
		<c:forEach items="${grade}" var="g">
			<tr>
		
				<td>${g.gid }</td>
				<td>${g.usualG }</td>
				<td>${g.finalG }</td>
				<td>${g.overallG}</td>
				<td>${g.sname}</td>
				<td>${g.cname }</td>
				<td>${g.sno }</td>
				<td>${g.clas }</td>
				
			<td><a href="upadeGrade?gid=${g.gid}">修改</a></td>
			
			<td><a href="deleteGradeByGid?gid=${g.gid }">删除</a>

			</tr>

		</c:forEach>
	</table>
</body>
</html>